libxl: Report error if logfile rotation fails
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 12 Apr 2010 16:38:42 +0000 (17:38 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 12 Apr 2010 16:38:42 +0000 (17:38 +0100)
commit4f7fb696611fdb1dbb781b7a236f3bc6a4d5bfee
tree9bc280f875a1952be6618176a35536569617deab
parentc20f18fbe847416f89c6362aea8604b2b2e28aae
libxl: Report error if logfile rotation fails

Check the return values from renames and errors from stat in
libxl_create_logfile (which, misleadingly, does not actually create
the logfile).

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
tools/libxl/libxl_utils.c